package net.knightwatch.kwtools.customers;

public class Building {
	
	private long id; // Primary Key
	private long customerId; // Secondary Key
	private String name;
	private Address address;
	private double pLongitude;
	private double pLatitude;
	private double pAltitude;
	private double pAccuracy;
	private double pTime;
	
	/**
	 * Building Constructor
	 * @param buildingName
	 * @param address
	 * @param latitude
	 * @param longitude
	 */
	public Building() {
		this.address = new Address();
	}
	
	@Override
	public String toString()
	{
	    return name;
	}
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	public double getpLongitude() {
		return pLongitude;
	}

	public void setpLongitude(double pLongitude) {
		this.pLongitude = pLongitude;
	}

	public double getpLatitude() {
		return pLatitude;
	}

	public void setpLatitude(double pLatitude) {
		this.pLatitude = pLatitude;
	}

	public double getpAltitude() {
		return pAltitude;
	}

	public void setpAltitude(double pAltitude) {
		this.pAltitude = pAltitude;
	}

	public double getpAccuracy() {
		return pAccuracy;
	}

	public void setpAccuracy(double pAccuracy) {
		this.pAccuracy = pAccuracy;
	}

	public double getpTime() {
		return pTime;
	}

	public void setpTime(double pTime) {
		this.pTime = pTime;
	}

	public long getCustomerId() {
		return customerId;
	}

	public void setCustomerId(long customerId) {
		this.customerId = customerId;
	}
}
